package activationFunctionPackage;


public class FAsigmoid implements FonctionActivation {

	public double activation(double somme) {
		
		return (1+Math.tanh(somme))/2.0;
	}

	public double deriv(double somme) {
		return activation(somme) - ( 1.0 - activation(somme) ) ;
	}

}
